<?php
/*******************************************************************
 * [SERVER] (C)2005 - 2099 Cenwor Inc.
 *
 * This is NOT a freeware, use is subject to license terms
 *
 * @Filename live.mod.php $
 *
 * @Author http://www.SERVER.net $
 *
 * @Date 2013-04-02 18:45:57 463983634 366607863 5251 $
 *******************************************************************/




// if(!defined('IN_SERVER')) {
//     exit('invalid request');
// }

class ModuleObject extends MasterObject
{
	function ModuleObject($config)
	{
		$this->MasterObject($config);		
		Load::logic('live');
		$this->LiveLogic = new LiveLogic();		
		
		$this->TopicLogic = jlogic('topic');
		$this->Execute();
	}

	
	function Execute()
	{
		ob_start();
		switch ($this->Code)
		{
			case 'view':
				$this->view();
				break;
			default:
				$this->main();
				break;			
		}
		$body=ob_get_clean();
		$this->ShowBody($body);
	}
	
	
	function main()
	{
		
	}
	
	function view()
	{
		
	}
}
?>
